import request from '@/utils/request'
// 教学心旨List
export function teachingTenetListApi(query) {
  return request({
    url: '/jsjx/teacherTenet/list',
    method: 'get',
    params: query
  })
};
// 教学心旨Add
export function teachingTenetAddApi(data) {
  return request({
    url: '/jsjx/teacherTenet',
    method: 'post',
    data
  })
};
// 教学心旨Edit
export function teachingTenetEditApi(data) {
  return request({
    url: '/jsjx/teacherTenet',
    method: 'put',
    data
  })
};
// 教学心旨ById
export function teachingTenetByIdApi(tenetId) {
  return request({
    url: `/jsjx/teacherTenet/${tenetId}`,
    method: 'get',
  })
};


// 教学心旨ById
export function getRecentTeacherReflectionApi(query) {
  return request({
    url: `/jsjx/teacherTenet/getRecentTeacherReflection`,
    method: 'get',
    params: query
  })
};
// 教学心旨导入
export function teachingTenetImportApi(data) {
  return request({
    url: '/jsjx/teacherTenet/importData',
    method: 'post',
    data
  })
};
